package com.example.logintest.dao;

import com.example.logintest.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginDao {
    @Select("select * from user where username= #{username}")
    User login(@Param("username") String username);
}
